package com.moore.service.Impl;

import com.moore.dto.ResponseData;
import com.moore.mapper.CountMapper;
import com.moore.service.CountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CountServiceImpl implements CountService {
    @Autowired
    CountMapper countMapper;
    @Override
    public ResponseData getCount() {
        return new ResponseData(200,"ok",countMapper.getCount(),0);
    }
}
